/**
 * @Author Stringzhua
 * @Date 2024/1/13 18:07
 * description:
 */
public class IntDetail {
    public static void main(String[] args) {
        //java的整型常量(具体值)默认为int型,声明long型常量须后加'l'或‘L’
        int n1 = 1;//4个字节
        //int n2 = 1L;//x    long型   从long转换到int可能会有丢失
        long n3 = 1L;//√
    }
}
